﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;

namespace SpectrumAnalyser.ModelObjects
{
    [Table(Name = "foo")]
    public class Foo : IEntity
    {
        [Column(Name = "name", CanBeNull = false)]
        public string Name { get; set; }

        [Column(Name = "id", IsDbGenerated = true, IsPrimaryKey = true)]
        public int Id { get; set; }
    }
}
